<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
</head>
<body>
	<h1>hello world</h1>
	<h1 id="name" style="display:none;">My Name Is fengchenyixuan</h1>
</body>
	<script>
		var h1 =document.getElementsByTagName('h1');
		console.log(h1);
		h1[0].addEventListener('click',function(){
			h1[1].style.display = 'block';
		})
	</script>
</html>